-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
clean up PyPI metadata #1480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clean up PyPI metadata #1480
Conversation
long_description=readme(), | ||
long_description_content_type="text/markdown", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This enables us to use Markdown
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Development Status :: 5 - Production/Stable', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're there!
@@ -394,17 +394,20 @@ def run(self): | |||
maintainer='Chris P', | |||
maintainer_email='[email protected]', | |||
url='https://plot.ly/python/', | |||
description="Python plotting library for collaborative, " | |||
"interactive, publication-quality graphs.", | |||
project_urls={"Github": "https://github.com/plotly/plotly.py"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just gets a bit more metadata on the PyPI page to show up automatically
@@ -30,7 +30,7 @@ def plotly_js_version(): | |||
|
|||
|
|||
def readme(): | |||
with open('README.rst') as f: | |||
with open('README.md') as f: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what's on Github by default and is much more up to date than the one on PyPI
@@ -1,5 +1,5 @@ | |||
[metadata] | |||
description-file = README.rst | |||
description-file = README.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unsure about the impact of this...
setup.py
Outdated
@@ -394,17 +394,20 @@ def run(self): | |||
maintainer='Chris P', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should consider making this @jonmmease
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the cleanup @nicolaskruchten
Might be worth a push to test.pypi.org first to check that the formatting etc looks good? |
No description provided.